package com.tpl.core.basedata.dao;

import com.tpl.core.common.annotation.DaoAnnotation;
import com.tpl.core.entity.sys.Lock;
import org.apache.ibatis.annotations.Param;


@DaoAnnotation
public interface LockDao {
	
	
	Lock getMenuLock(String menuNo);
	
	void insertLock(Lock lock);
	
	void updateLock(Lock lock);
	
	void delOtherLock(@Param("userNo")String userNo,@Param("menuNo")String menuNo);
	
	void delAllLock(String userNo);
	
	
}
